<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0, shrink-to-fit=no">
    <title>Register - Brand</title>
    <link rel="stylesheet" href="../../css/bootstrap.min-register.css">
    <link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Montserrat:400,400i,700,700i,600,600i">
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.css">
    <link rel="stylesheet" href="../../css/smoothproducts.css">
</head>

<body>
<nav class="navbar navbar-light navbar-expand-lg fixed-top bg-white clean-navbar">
    <div class="container"><a class="navbar-brand logo" href="#">梅见</a><button data-toggle="collapse" class="navbar-toggler" data-target="#navcol-1"><span class="sr-only">Toggle navigation</span><span class="navbar-toggler-icon"></span></button>
        <div class="collapse navbar-collapse" id="navcol-1">
            <ul class="navbar-nav ml-auto"></ul>
        </div>
    </div>
</nav>
<main class="page registration-page">
    <section class="clean-block clean-form dark">
        <div class="container">
            <div class="block-heading">
                <h2 class="text-info">修改用户</h2>
                <p>修改你的用户信息.</p>
            </div>
            <form action="/updPwd_user">
                <input class="form-control item" type="text"  name="userid" th:value="${user.userid}" id="userid" hidden>
                <input class="form-control item" type="text" id="uid" name="uid" th:value="${user.uid}" hidden>
                <div class="form-group"><label for="username">昵称</label><input class="form-control item" type="text" id="username" name="username" th:value="${user.username}"></div>
                <div class="form-group"><label for="userpwd">密码</label><input class="form-control item" type="password" id="userpwd" name="userpwd"></div>
                    <button class="btn btn-primary btn-block" type="submit">修改密码</button>
            </form>
        </div>
    </section>
</main>
<footer class="page-footer dark">
    <div class="container">
        <div class="row">
            <div class="col-sm-3">
                <h5>菜单导航</h5>
                <ul>
                    <li><a href="/">主页</a></li>
                    <li><a href="/toLogin">登录</a></li>
                </ul>
            </div>
        </div>
    </div>
    <div class="footer-copyright">
        <p>© 2021-2022 </p>
    </div>
</footer>
<script src="../../js/jquery.min-register.js"></script>
<script src="../../js/bootstrap.min-register.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/baguettebox.js/1.10.0/baguetteBox.min.js"></script>
<script src="../../js/smoothproducts.min-register.js"></script>
<script src="../../js/theme-register.js"></script>
</body>

</html>